package com.sskj.common.enums;

import lombok.Getter;

@Getter
public enum DeviceTelemetryTypeEnum {
    PROPERTY(1, "属性上报"),
    SERVICE(2, "服务调用"),
    EVENT(3, "事件上报"),
    OTA(4, "设备升级"),
    ONLINE(5, "设备上线"),
    OFFLINE(6, "设备下线");

    private final int type;
    private final String desc;

    DeviceTelemetryTypeEnum(int type, String desc) {
        this.type = type;
        this.desc = desc;
    }
}
